projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4744058
)
GL: Fix typo in gdk_gl_texture_from_surface
author
Alexander Larsson
<alexl@redhat.com>
Thu, 20 Nov 2014 14:36:21 +0000
(15:36 +0100)
committer
Alexander Larsson
<alexl@redhat.com>
Thu, 20 Nov 2014 14:37:40 +0000
(15:37 +0100)
Got a sign wrong in commit
800c712738f5666937e32d9f8cb32353513b9423
gdk/gdkgl.c
patch
|
blob
|
history
diff --git
a/gdk/gdkgl.c
b/gdk/gdkgl.c
index d693ca0350602c9cb3edfb446bccbba9dabba804..6c76e8379a4c6268ab7f2119d8eb58e146446b9f 100644
(file)
--- a/
gdk/gdkgl.c
+++ b/
gdk/gdkgl.c
@@
-700,7
+700,7
@@
gdk_gl_texture_from_surface (cairo_surface_t *surface,
{
cairo_region_get_rectangle (region, i, &rect);
- glScissor (rect.x * window_scale, unscaled_window_height - (rect.y
-
rect.height) * window_scale,
+ glScissor (rect.x * window_scale, unscaled_window_height - (rect.y
+
rect.height) * window_scale,
rect.width * window_scale, rect.height * window_scale);
e = rect;